platform :ios, '12.0'

def normalPod
  pod 'FDFullscreenPopGesture'#1.1
  pod 'SDCycleScrollView'     #1.82
  pod 'IQKeyboardManager'     #6.5.10
  pod 'WMPageController'      #2.5.2
  pod 'MBProgressHUD'#1.2.0
  pod 'AFNetworking' #4.0.1
  pod 'MJExtension'  #3.4.1
  pod 'SDWebImage'   #5.13
  pod 'MJRefresh'    #3.7.5
  pod 'Masonry'      #1.1.0
  pod 'Bugly'        #2.5.91

  pod 'SVGKit',:git => 'https://github.com/SVGKit/SVGKit.git', :branch => '3.x'  #3.1.1
  pod 'CocoaLumberjack'
  
  # 更新SDK需要更换的内容 --> 腾讯云SDK替换说明
  pod 'TUICallKit' , '1.5.0.305'
  pod 'TPNS-iOS'
  pod 'TXIMSDK_Plus_iOS' ,'7.1.3925' #'7.1.3925' --> 对应的 TUICallKit - 1.5.0.305

  #打包发布 提示 TUICore 缺少版本号 ： CFBundleShortVersionString ： 7.1.3925
  
end

target 'HeartDisease_YHJK' do
  use_frameworks!
  normalPod
  
end


#Pods config
#Fix Xcode14 Bundle target error
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
      config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
      config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
      config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
    end
  end
end
